<?php
class Admin_Index_View extends NICED_View 
{
	public function execute() 
	{
		$controller = $this->getController();
		$exception  = $controller->getException();

		if ($exception && $exception instanceof Exception)
		{
		    $this->set('message', $exception->getMessage());
		}

        $this->set("main_tpl_name", "Admin.Index");
		$this->render('Admin.Frame');
	}

}//end class
